package com.messe.base.models;

import java.sql.Timestamp;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 *  @author MyEclipse Persistence Tools
 */

public class ticketHelp  implements java.io.Serializable {


    // Fields    

	/**
	 * 
	 */
	private static final long serialVersionUID = -3825618494484610129L;

	private String id;
     
	private Person creater;
	private Organization createrOrg;
	private Date expectDate;
	private Timestamp updatedStamp;
	private Timestamp createdStamp;

	private String subject;
	private String desc;
	private String attachments;//split by "//"
 
	private Person handler;
	private Organization organization;
 
	private String reqType; //10 20 30 40 系统使用问题、数据问题、功能改进、新需求
	private String reqSrc; //10 支持系统
	private String reqLvl; //1 2 3
	
	private String status1; //10 20 30 新申请、处理中、完成
	private Integer status2;

	private Set<ticketHelpFile> ticketHelpFiles = new HashSet<ticketHelpFile>(0);
	private Set<ticketHelpTrace> ticketHelpTraces = new HashSet<ticketHelpTrace>(0);
	
	
	public Organization getCreaterOrg() {
		return createrOrg;
	}
	public void setCreaterOrg(Organization createrOrg) {
		this.createrOrg = createrOrg;
	}
	public Set<ticketHelpFile> getTicketHelpFiles() {
		return ticketHelpFiles;
	}
	public void setTicketHelpFiles(Set<ticketHelpFile> ticketHelpFiles) {
		this.ticketHelpFiles = ticketHelpFiles;
	}
	public Set<ticketHelpTrace> getTicketHelpTraces() {
		return ticketHelpTraces;
	}
	public void setTicketHelpTraces(Set<ticketHelpTrace> ticketHelpTraces) {
		this.ticketHelpTraces = ticketHelpTraces;
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Person getCreater() {
		return creater;
	}
	public void setCreater(Person creater) {
		this.creater = creater;
	}
	public Organization getOrganizor() {
		return createrOrg;
	}
	public void setOrganizor(Organization organizor) {
		this.createrOrg = organizor;
	}
	public Date getExpectDate() {
		return expectDate;
	}
	public void setExpectDate(Date expectDate) {
		this.expectDate = expectDate;
	}
	
	public Timestamp getUpdatedStamp() {
		return updatedStamp;
	}
	public void setUpdatedStamp(Timestamp updatedStamp) {
		this.updatedStamp = updatedStamp;
	}
	public Timestamp getCreatedStamp() {
		return createdStamp;
	}
	public void setCreatedStamp(Timestamp createdStamp) {
		this.createdStamp = createdStamp;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public String getAttachments() {
		return attachments;
	}
	public void setAttachments(String attachments) {
		this.attachments = attachments;
	}
	public Person getHandler() {
		return handler;
	}
	public void setHandler(Person handler) {
		this.handler = handler;
	}
	public Organization getOrganization() {
		return organization;
	}
	public void setOrganization(Organization organization) {
		this.organization = organization;
	}
	public String getReqType() {
		return reqType;
	}
	public void setReqType(String reqType) {
		this.reqType = reqType;
	}
	public String getReqSrc() {
		return reqSrc;
	}
	public void setReqSrc(String reqSrc) {
		this.reqSrc = reqSrc;
	}
	public String getStatus1() {
		return status1;
	}
	public void setStatus1(String status1) {
		this.status1 = status1;
	}
	public Integer getStatus2() {
		return status2;
	}
	public void setStatus2(Integer status2) {
		this.status2 = status2;
	}
	public String getReqLvl() {
		return reqLvl;
	}
	public void setReqLvl(String reqLvl) {
		this.reqLvl = reqLvl;
	}
 
	
}